package com.bjb.vr.monitor.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Data
@Configuration
@ConfigurationProperties(prefix = "alarm.mail")
@RefreshScope
public class EmailProperties {

    String sender;
    List<String> receivers;
}
